package com.wei.file.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

@Data
public class RecycleFileModel {

    /**
     * 绝对路径
     */
    private String absolutePath;
    /**
     * 文件路径
     */
    private String filePath;

    private Boolean folder;

    /**
     * 删除时间
     */
    private long deleteAt;

    /**
     * 清理时间（真正删除时间）
     */
    private long clearAt;

    public RecycleFileModelVO toVo(){
        return new RecycleFileModelVO(filePath,folder,deleteAt,clearAt);
    }
}
